home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
MODULES
/
IFTASK.ZIP
/
IfTask
/
!Help
next >
Wrap
Text File
|
1997-10-07
|
2KB
|
47 lines
If_task command line cutility <= ie. a cute utility :-)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) Musus Umbra 1996
Permission is granted for unlimited personal use & modification.
Permission is granted for redistribution (by any method) provided that:
No charge is made for this software. A reasonable charge may be
made for media / handling / etc. This software is *free*.
Any distributed copy of this software must be unaltered and entire.
You may not distribute modified / imcomplete copies of this
software. If you fix a bug / add a feature, let me know so
that I can update the master copy.
As usual with freeware, there is no warranty of any kind. The author cannot
be help responsible for any loss/damage arising from the use/inability to
use this software. It is the user's responsibility to determine the fitness
of this software for any purpose they put it to.
(But if it doesn't work, I will try to help :-)
If_Task
~~~~~~~
If_Task executes a specified command if (and only if) a specified task
is running.
Syntax: If_Task ["]<task_name>["] <command>
The task name is case sensitive, and must be enclosed in "s if it
contains spaces. The command can be pretty much anything you like, but
don't use it to directly start applications (ie. by running them) - use
*wimptask, or *filer_run, etc. if needs be.
egs:
*if_task MyApp error MyApp is already running!
*if_task "My Other App" filer_opendir <obey$dir>
*if_task Make obey
*if_task Fred seteval Fred 1
Contact:
e-mail: musus@argonet.co.uk
WWW: http://www.argonet.co.uk/users/musus/
Snail: c/o 23 Baronsway, Whitkirk, Leeds, LS15 7AW, ENGLAND.